<template>
	<view class="container">
		<view v-if="showTitle" class="title">
			<view>{{ $t('pageBg.basic.hello') }}</view>
			<view class="two">Serenita</view>
		</view>
		<slot></slot>
	</view>
</template>

<script>
	export default {
		props:{
			showTitle:{
				type:Boolean,
				default: true
			}
		},
		data() {
			return {
			}
		},
	}
</script>

<style lang="less" scoped>
	.container {
		min-height: 100vh;
		background: url('/static/bg.jpg') no-repeat;
		background-size: 100%;
		position: relative;
		overflow: hidden;
		box-sizing: border-box;
		padding-top: 90rpx;
		.title {
			font-size: 72rpx;
			font-weight: bold;
			margin-bottom: 10rpx;
			padding: 0 56rpx;
			color: #fff;
			.two{
				margin: 10rpx 0 0 130rpx;
			}
		}
	}
</style>